package com.yuhuihui.common.utils.excel.read.convert;

import org.apache.poi.ss.usermodel.Cell;

/**
 * 单元格类型转换参数
 *
 * @author yuhh
 * @date 2022-08-22 16:24:25
 */
public class CellTypeConvertParameter {

	/**
	 * 单元格
	 */
	private Cell cell;

	/**
	 * 需要转换的类型
	 */
	private Class<?> parameterType;

	public CellTypeConvertParameter() {}

	public CellTypeConvertParameter(Cell cell) {
		this.cell = cell;
	}

	public CellTypeConvertParameter(Cell cell, Class<?> parameterType) {
		this.cell = cell;
		this.parameterType = parameterType;
	}

	public Cell getCell() {
		return cell;
	}

	public void setCell(Cell cell) {
		this.cell = cell;
	}

	public Class<?> getParameterType() {
		return parameterType;
	}

	public void setParameterType(Class<?> parameterType) {
		this.parameterType = parameterType;
	}
}
